libjmock-java software package provides Java library for testing code with mock objects, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libjmock-java
libjmock-java is installed in your system.
Make ensure the libjmock-java package were installed using the commands given below,
$ sudo dpkg-query -l | grep libjmock-java *
You will get with libjmock-java package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Libraries |
| Package | libjmock-java |
| Version | 1.2.0-3 |
| Description | Java library for testing code with mock objects |
| Sub Section | Libs |